Optimal. Leaf size=230 \[ \frac {3 b (A (3 m+7)+C (3 m+4)) \sin (c+d x) \sqrt [3]{b \sec (c+d x)} \sec ^m(c+d x) \, _2F_1\left (\frac {1}{2},\frac {1}{6} (-3 m-1);\frac {1}{6} (5-3 m);\cos ^2(c+d x)\right )}{d (3 m+1) (3 m+7) \sqrt {\sin ^2(c+d x)}}+\frac {3 b B \sin (c+d x) \sqrt [3]{b \sec (c+d x)} \sec ^{m+1}(c+d x) \, _2F_1\left (\frac {1}{2},\frac {1}{6} (-3 m-4);\frac {1}{6} (2-3 m);\cos ^2(c+d x)\right )}{d (3 m+4) \sqrt {\sin ^2(c+d x)}}+\frac {3 b C \sin (c+d x) \sqrt [3]{b \sec (c+d x)} \sec ^{m+2}(c+d x)}{d (3 m+7)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.19, antiderivative size = 230, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 5, integrand size = 41, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.122, Rules used = {20, 4047, 3772, 2643, 4046} \[ \frac {3 b (A (3 m+7)+C (3 m+4)) \sin (c+d x) \sqrt [3]{b \sec (c+d x)} \sec ^m(c+d x) \, _2F_1\left (\frac {1}{2},\frac {1}{6} (-3 m-1);\frac {1}{6} (5-3 m);\cos ^2(c+d x)\right )}{d (3 m+1) (3 m+7) \sqrt {\sin ^2(c+d x)}}+\frac {3 b B \sin (c+d x) \sqrt [3]{b \sec (c+d x)} \sec ^{m+1}(c+d x) \, _2F_1\left (\frac {1}{2},\frac {1}{6} (-3 m-4);\frac {1}{6} (2-3 m);\cos ^2(c+d x)\right )}{d (3 m+4) \sqrt {\sin ^2(c+d x)}}+\frac {3 b C \sin (c+d x) \sqrt [3]{b \sec (c+d x)} \sec ^{m+2}(c+d x)}{d (3 m+7)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 20
Rule 2643
Rule 3772
Rule 4046
Rule 4047
Rubi steps
\begin {align*} \int \sec ^m(c+d x) (b \sec (c+d x))^{4/3} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx &=\frac {\left (b \sqrt [3]{b \sec (c+d x)}\right ) \int \sec ^{\frac {4}{3}+m}(c+d x) \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx}{\sqrt [3]{\sec (c+d x)}}\\ &=\frac {\left (b \sqrt [3]{b \sec (c+d x)}\right ) \int \sec ^{\frac {4}{3}+m}(c+d x) \left (A+C \sec ^2(c+d x)\right ) \, dx}{\sqrt [3]{\sec (c+d x)}}+\frac {\left (b B \sqrt [3]{b \sec (c+d x)}\right ) \int \sec ^{\frac {7}{3}+m}(c+d x) \, dx}{\sqrt [3]{\sec (c+d x)}}\\ &=\frac {3 b C \sec ^{2+m}(c+d x) \sqrt [3]{b \sec (c+d x)} \sin (c+d x)}{d (7+3 m)}+\frac {\left (b \left (C \left (\frac {4}{3}+m\right )+A \left (\frac {7}{3}+m\right )\right ) \sqrt [3]{b \sec (c+d x)}\right ) \int \sec ^{\frac {4}{3}+m}(c+d x) \, dx}{\left (\frac {7}{3}+m\right ) \sqrt [3]{\sec (c+d x)}}+\left (b B \cos ^{\frac {1}{3}+m}(c+d x) \sec ^m(c+d x) \sqrt [3]{b \sec (c+d x)}\right ) \int \cos ^{-\frac {7}{3}-m}(c+d x) \, dx\\ &=\frac {3 b C \sec ^{2+m}(c+d x) \sqrt [3]{b \sec (c+d x)} \sin (c+d x)}{d (7+3 m)}+\frac {3 b B \, _2F_1\left (\frac {1}{2},\frac {1}{6} (-4-3 m);\frac {1}{6} (2-3 m);\cos ^2(c+d x)\right ) \sec ^{1+m}(c+d x) \sqrt [3]{b \sec (c+d x)} \sin (c+d x)}{d (4+3 m) \sqrt {\sin ^2(c+d x)}}+\frac {\left (b \left (C \left (\frac {4}{3}+m\right )+A \left (\frac {7}{3}+m\right )\right ) \cos ^{\frac {1}{3}+m}(c+d x) \sec ^m(c+d x) \sqrt [3]{b \sec (c+d x)}\right ) \int \cos ^{-\frac {4}{3}-m}(c+d x) \, dx}{\frac {7}{3}+m}\\ &=\frac {3 b C \sec ^{2+m}(c+d x) \sqrt [3]{b \sec (c+d x)} \sin (c+d x)}{d (7+3 m)}+\frac {3 b (C (4+3 m)+A (7+3 m)) \, _2F_1\left (\frac {1}{2},\frac {1}{6} (-1-3 m);\frac {1}{6} (5-3 m);\cos ^2(c+d x)\right ) \sec ^m(c+d x) \sqrt [3]{b \sec (c+d x)} \sin (c+d x)}{d (1+3 m) (7+3 m) \sqrt {\sin ^2(c+d x)}}+\frac {3 b B \, _2F_1\left (\frac {1}{2},\frac {1}{6} (-4-3 m);\frac {1}{6} (2-3 m);\cos ^2(c+d x)\right ) \sec ^{1+m}(c+d x) \sqrt [3]{b \sec (c+d x)} \sin (c+d x)}{d (4+3 m) \sqrt {\sin ^2(c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 8.55, size = 484, normalized size = 2.10 \[ -\frac {3 i 2^{m+\frac {7}{3}} e^{-\frac {1}{3} i d (3 m+4) x} \left (\frac {e^{i (c+d x)}}{1+e^{2 i (c+d x)}}\right )^{m+\frac {4}{3}} \left (1+e^{2 i (c+d x)}\right )^{m+\frac {4}{3}} (b \sec (c+d x))^{4/3} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \left (\frac {2 (A+2 C) e^{\frac {1}{3} i (6 c+d (3 m+10) x)} \, _2F_1\left (\frac {m}{2}+\frac {5}{3},m+\frac {10}{3};\frac {m}{2}+\frac {8}{3};-e^{2 i (c+d x)}\right )}{3 m+10}+\frac {A e^{4 i c+\frac {1}{3} i d (3 m+16) x} \, _2F_1\left (\frac {m}{2}+\frac {8}{3},m+\frac {10}{3};\frac {1}{6} (3 m+22);-e^{2 i (c+d x)}\right )}{3 m+16}+\frac {A e^{\frac {1}{3} i d (3 m+4) x} \, _2F_1\left (m+\frac {10}{3},\frac {1}{6} (3 m+4);\frac {m}{2}+\frac {5}{3};-e^{2 i (c+d x)}\right )}{3 m+4}+\frac {2 B e^{\frac {1}{3} i (3 c+d (3 m+7) x)} \, _2F_1\left (m+\frac {10}{3},\frac {1}{6} (3 m+7);\frac {1}{6} (3 m+13);-e^{2 i (c+d x)}\right )}{3 m+7}+\frac {2 B e^{\frac {1}{3} i (9 c+d (3 m+13) x)} \, _2F_1\left (m+\frac {10}{3},\frac {1}{6} (3 m+13);\frac {1}{6} (3 m+19);-e^{2 i (c+d x)}\right )}{3 m+13}\right )}{d \sec ^{\frac {10}{3}}(c+d x) (A \cos (2 c+2 d x)+A+2 B \cos (c+d x)+2 C)} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.43, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (C b \sec \left (d x + c\right )^{3} + B b \sec \left (d x + c\right )^{2} + A b \sec \left (d x + c\right )\right )} \left (b \sec \left (d x + c\right )\right )^{\frac {1}{3}} \sec \left (d x + c\right )^{m}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (C \sec \left (d x + c\right )^{2} + B \sec \left (d x + c\right ) + A\right )} \left (b \sec \left (d x + c\right )\right )^{\frac {4}{3}} \sec \left (d x + c\right )^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 1.41, size = 0, normalized size = 0.00 \[ \int \left (\sec ^{m}\left (d x +c \right )\right ) \left (b \sec \left (d x +c \right )\right )^{\frac {4}{3}} \left (A +B \sec \left (d x +c \right )+C \left (\sec ^{2}\left (d x +c \right )\right )\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int {\left (\frac {b}{\cos \left (c+d\,x\right )}\right )}^{4/3}\,{\left (\frac {1}{\cos \left (c+d\,x\right )}\right )}^m\,\left (A+\frac {B}{\cos \left (c+d\,x\right )}+\frac {C}{{\cos \left (c+d\,x\right )}^2}\right ) \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________